import React from 'react'

import worker from '@/worker'

import './index.less'

function RenderPage() {
  React.useEffect(() => {
    worker.init()
  }, [])

  return pug`
    canvas#render
  `
}

export default RenderPage
